<?php

    include_once '../clases/Revisado.php';
    
    $tc = $_REQUEST['tc'];
    
    if($tc == 1){
        
        $paciente = $_REQUEST['pac'];
        $tablero = $_REQUEST['oidt'];
        
        $datos = new Revisado("", "", "", $paciente, $tablero);
        $datos->guardarR();
    }
    else if($tc == 2){
        
        $paciente = $_REQUEST['pac'];
        $tablero = $_REQUEST['oidt'];
        
        $datos = new Revisado("", "", "", $paciente, $tablero);
        $datos->editaR();
    }
?>
